
export default defineEventHandler((event) => {
    const list = [
        {
            title: 'COS',
            type: '1',
            recommendlist: [
                {
                    id: '1',
                    type: '1',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
                {
                    id: '2',
                    type: '1',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
                {
                    id: '3',
                    type: '1',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
            ]
        },
        {
            title: '绘画',
            type: '2',
            recommendlist: [
                {
                    id: '1',
                    type: '2',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
                {
                    id: '2',
                    type: '2',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
                {
                    id: '3',
                    type: '2',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
            ]
        },
        {
            title: '写作',
            type: '3',
            recommendlist: [
                {
                    id: '1',
                    type: '3',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
                {
                    id: '2',
                    type: '3',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
                {
                    id: '3',
                    type: '3',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
            ]
        },
        {
            title: '日常',
            type: '4',
            recommendlist: [
                {
                    id: '1',
                    type: '4',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
                {
                    id: '2',
                    type: '4',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
                {
                    id: '3',
                    type: '4',
                    title: '此处是正文标题内容',
                    source_url: '',
                    source: 'cos方糖圈',
                    time: '6分钟前',
                    cover: 'http://www.ay1.cc/img?w=394&h=248',
                    user_id: '1',
                    user: {
                        id: '1',
                        name: '昵称',
                        email: 'xxx@qq.com',
                        avatar_url: "http://www.ay1.cc/img?w=100&h=100"
                    },
                },
            ]
        },
    ]
    return successApi('获取成功', list)
})